package com.dlc.shop.systemtest.api.amount;

import com.alibaba.fastjson.JSON;
import com.dlc.shop.bean.model.ShopBankCard;
import com.dlc.shop.systemtest.constants.Constant;
import com.dlc.shop.systemtest.util.HttpUtil;

import java.util.List;

/**
 * @author lanhai
 */
public class ShopBankCardApi {
    public static List<ShopBankCard> getShopBankCardList(){
        String  url = Constant.SHOP_URL+"/shop/shopBankCard/getShopBankCardList";
        List list = HttpUtil.get(url, List.class);
        return JSON.parseArray(JSON.toJSONString(list),ShopBankCard.class);
    }
}
